﻿<Page x:Class="SoftTeach.View.Main.LandingPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="600" d:DesignWidth="800"
	    Title="Willkommen bei SoftTeach"
      Loaded="LandingPage_OnLoaded">
  <Page.Resources>
    <ResourceDictionary Source="/SoftTeach;component/Resources/MetroResources.xaml"/>
  </Page.Resources>
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="*"/>
      <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <WrapPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Stylus.IsPressAndHoldEnabled="False">
      <Button Background="Yellow" Width="200" Height="200"  Click="TagesplanOnClick" Margin="5">
        <Label Content="Tagesplan" FontSize="20"/>
      </Button>
      <Button Background="Green" Width="200" Height="200" Click="WochenplanOnClick" Margin="5" >
        <Label Content="Wochenplan" FontSize="20"/>
      </Button>
      <Button Background="Crimson" Width="200" Height="200" Click="NotenOnClick" Margin="5">
        <Label Content="Noten" FontSize="20"/>
      </Button>
      <Button Background="CornflowerBlue" Width="200" Height="200" Click="GruppenOnClick" Margin="5">
        <Label Content="Gruppen" FontSize="20"/>
      </Button>
      <Button Background="LightSteelBlue" Width="200" Height="200" Click="SitzpläneOnClick" Margin="5">
        <Label Content="Sitzpläne" FontSize="20"/>
      </Button>
    </WrapPanel>
    <StackPanel Orientation="Horizontal" Grid.Row="1" Background="{x:Static SystemColors.MenuBarBrush}">
      <Button Click="DesktopOnClick" Margin="5">
        <Image Source="/SoftTeach;component/Images/Desktop48.png"/>
      </Button>
      <Button Click="SpeichernOnClick" Margin="5">
        <Image Source="/SoftTeach;component/Images/Save48.png"/>
      </Button>
    </StackPanel>
  </Grid>
</Page>
